import datetime
import json
from json import JSONDecodeError

from mysql_conn.mysql_conn import MysqlConn
import pandas as pd
import numpy as np


yesterday_date = datetime.datetime.now() - datetime.timedelta(days=1)
today_date = datetime.datetime.now()

yesterday_int = yesterday_date.year * 10000 + yesterday_date.month * 100 + yesterday_date.day

yesterday = yesterday_date.date()
today = today_date.date()


print(yesterday_int, yesterday, today)


